powered by
Two-sample test of high-dimensional means for compositional data.
hd.meantest2(y1, y2, R = 1)
A matrix containing the compositional data of the first group.
A matrix containing the compositional data of the second group.
If R is 1 no bootstrap calibration is performed and the asymptotic p-value is returned. If R is greater than 1, the bootstrap p-value is returned.
A vector with the test statistic value and its associated (bootstrap) p-value.
A two sample for high dimensional mean vectors of compositional data is implemented. See references for more details.
Cao Y., Lin W. and Li H. (2018). Two-sample tests of high-dimensional means for compositional data. Biometrika, 105(1): 115-132.
comp.test, maovjames, maov, hotel2T2, el.test2, eel.test2
# NOT RUN { m <- runif(200, 10, 15) x1 <- rdiri(100, m) x2 <- rdiri(100, m) hd.meantest2(x1, x2) # }
Run the code above in your browser using DataLab